{extend name='admin@main'}

{block name="content"}
<div class="think-box-shadow">
    {include file='cleaner/index_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='text-left nowrap'>用户信息</th>
            <th class='text-left nowrap'>账户信息</th>
            <th class='text-left nowrap'>状态</th>
            <th class='text-left nowrap'></th>
            <th></th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr data-dbclick>
            <td class='text-left nowrap'>
                {notempty name='vo.work_headimg'}
                <img data-tips-image style="width:40px;height:40px;vertical-align:top" src="{$vo.work_headimg|default=''}" class="margin-right-5">
                {/notempty}
                <div class="inline-block">
                    会员姓名：{$vo.name|default='--'}<br>
                    会员手机：{$vo.phone|default='--'}<br>
                </div>
            </td>
            <td class='text-left nowrap'>
                <div class="inline-block">
                    余额：<strong class="color-blue">{$vo.balance + 0}</strong>
                    <!--<span class="text-explode">|</span>-->
                    <!--<a class="layui-btn layui-btn-sm" data-open="{:url('balance_log')}?id={$vo.id}">记 录</a>-->
                </div>
            </td>
            <td class='text-left nowrap'>
                <div class="inline-block">
                    用户状态：{if $vo.status eq 1}<strong class="color-green">正常</strong>{elseif $vo.status eq 0}<strong class="color-red">已禁用</strong>{/if}<br>
                    工作状态：{if $vo.work_state eq 1}<strong class="color-green">正常</strong>{elseif $vo.work_state eq 0}<strong class="color-red">休息</strong>{/if}<br>
                    实名状态：{if $vo.auth_state eq 1}<strong class="color-green">已实名</strong>{elseif $vo.auth_state eq 0}<strong class="color-red">未实名</strong>{/if}<br>
                </div>
            </td>
            <td class='text-left'>{$vo.create_at}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}